package com.hanhai.zrb.backend.web.form;

import org.hibernate.validator.constraints.NotBlank;


public class LoginForm {
	@NotBlank(message = "用户名不能为空")
	private String name;
	@NotBlank(message = "密码不能为空")
	private String password;
	private Integer autoLogin;
	private String backUrl;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getAutoLogin() {
		return autoLogin;
	}

	public void setAutoLogin(Integer autologin) {
		this.autoLogin = autologin;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

}
